<?php
/**
 * Created by PhpStorm.
 * User: CPR065
 * Date: 2016/9/21
 * Time: 11:17
 */

namespace Admin\Widget;
use Think\Controller;


class UeditorWidget extends Controller{

    public function getEditor($name,$content='')
    {
        $this->assign([
            'name' => $name,
            'content' => $content
        ]);
        $this->display('Common:editor');
    }
} 